﻿@model IMembershipModel

@AddControls(new Fieldset("w51p mh75")
{
    new DefinitionList
    {
        new TextOrInput().SetSourceProperty(() => Model.Member.UserName),
        new TextOrInput().SetSourceProperty(() => Model.Member.FirstName),
        new TextOrInput().SetSourceProperty(() => Model.Member.Surname),
        new DefinitionListItem("Password")
        {
            new Input(InputType.Password).SetName("Password"),
        },
        new DefinitionListItem("ConfirmedPassword")
        {
            new Input(InputType.Password).SetName("ConfirmedPassword"),
        },        
        new TextOrInput().SetSourceProperty(() => Model.Member.Email),
    },
})